array push foreach php

33

array push foreach php -

$items = array();
foreach($group_membership as $username) {
 $items[] = $username;
}

print_r($items);

Comments

Submit
0 Comments